package com.lanxiao.cloud.modules.dept.application.dto;

import com.lanxiao.cloud.common.core.dto.Dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2021-10-26
 */
@ApiModel("部门返回模型")
public class DeptDto extends Dto<Long> {

  @ApiModelProperty(value = "名称")
  private final String name;

  public DeptDto(Long id, String name) {
    super(id);
    this.name = name;
  }

  public String getName() {
    return name;
  }

}
